package com.xbfinal.eduservice.client.impl;

import com.xbfinal.commonUtils.Result;
import com.xbfinal.eduservice.client.VodClient;
import org.springframework.stereotype.Component;

/**
 * @Title: VodFileDegradeFeignClient
 * @Author 笑霸fianl
 * @Package com.xbfinal.eduservice.client.impl
 * @Date 2023/2/26 16:03
 * @描述: VodClient的实现类
 * 熔断后才会执行
 */
@Component
public class VodFileDegradeFeignClient implements VodClient {
    @Override
    public Result hello() {
        return Result.failed().addData("服务器找不到了").addCode(20001);
    }
}
